<script lang="tsx">
// import { useUserStore } from "@/stores/user";
// import { ref } from "vue";
import "./index.scss";
import { Navigator } from "@tarojs/components";

export default {
  setup(props, ctx) {
    // const msg = ref("Hello world");
    // const userStore = useUserStore();

    return () => (
      <div class="index uno-inline-flex">
        <Navigator url="/pages/booking/index" class="uno-mb-50rpx">
          <nut-button type="primary">预定</nut-button>
        </Navigator>
        <Navigator url="/pages/history/index" class="">
          <nut-button type="primary">预定记录</nut-button>
        </Navigator>
      </div>
    );
  },
};
</script>
